package com.core;

import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;

import java.awt.*;
import java.io.File;

public class OpenCVVersionCheck {
    static {
//        java.library.path
        String libraryPath = System.getProperty("java.library.path");
        System.out.println("java.library.path: " + libraryPath);
        System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
    }

    public static void main(String[] args) throws AWTException {
        System.out.println("OpenCV Version: " + Core.VERSION);
        Mat m = new Mat(10, 10, CvType.CV_8UC1);
        System.out.println("Matrix Created: " + m.dump());
        File file = new File("");
        System.out.println(file.getAbsolutePath());
        Robot robot=new Robot();
        robot.mouseMove(1094,615);
    }

}